/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ivanbiz.injection;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


/**
 *
 * @author User
 */
public class SearchService {
    private static ApplicationContext ctx;
        private static String springXmls =  "config/applicationContext.xml" ;
        public static ApplicationContext getSpringContext() {
                if (ctx == null)
                        ctx = new ClassPathXmlApplicationContext(springXmls);
                return ctx;
        } 
}
